
public class progrm {
	
	public static long getTime() {
		return System.nanoTime() / 1000000;
	}

	public static void main(String[] argv) {
		
		World w = new World();
		
		long lastFrameT = getTime();
		while (true) {			
			long dt = getTime() - lastFrameT;
			lastFrameT = getTime();
			w.play(dt);
			w.render();
		
			
		}
		
	}


}
